﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_26_2021
{
    class Cat : Animals, IClimb, ISwim
    {
        public Cat(string animal):base(animal)
        {
            this.Animal = animal;
        }
        public void Climb()
        {
            Console.WriteLine("猫在爬树");
        }

        public void Swim()
        {
            Console.WriteLine("猫在游泳");
        }
    }
}
